﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ShowBox : MonoBehaviour
{
    private void OnEnable()
    {
        if (!AdManager1.instance.ShieldAddress)
        {
            StartCoroutine(showBox());
        }
        else
        {
            AdManager.single.ShowNative();
        }
    }
    IEnumerator showBox()
    {
        yield return new WaitForSeconds(1f);
        CheckTouch.Show();
    }
}
